package com.tju.ocean_ecology_website.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 志愿者服务记录表(VolunteerServiceRecord)实体类
 *
 * @author shaolong
 * @since 2025-05-02 13:30:00
 */
public class VolunteerServiceRecord implements Serializable {
    private static final long serialVersionUID = 123456789012345678L;

    /**
     * 记录ID
     */
    private Long id;

    /**
     * 志愿者ID
     */
    private Long volunteerId;

    /**
     * 活动ID
     */
    private Long activityId;

    /**
     * 服务时长（小时）
     */
    private Integer serviceHours;

    /**
     * 服务日期
     */
    private Date serviceDate;

    /**
     * 服务地点
     */
    private String serviceLocation;

    /**
     * 服务描述
     */
    private String description;

    /**
     * 状态：0-待审核, 1-已通过, 2-已拒绝
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    // 非数据库字段，用于关联查询
    private String activityTitle;

    /**
     * 志愿者姓名（非数据库字段，用于关联查询）
     */
    private String volunteerName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getVolunteerId() {
        return volunteerId;
    }

    public void setVolunteerId(Long volunteerId) {
        this.volunteerId = volunteerId;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public Integer getServiceHours() {
        return serviceHours;
    }

    public void setServiceHours(Integer serviceHours) {
        this.serviceHours = serviceHours;
    }

    public Date getServiceDate() {
        return serviceDate;
    }

    public void setServiceDate(Date serviceDate) {
        this.serviceDate = serviceDate;
    }

    public String getServiceLocation() {
        return serviceLocation;
    }

    public void setServiceLocation(String serviceLocation) {
        this.serviceLocation = serviceLocation;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getActivityTitle() {
        return activityTitle;
    }

    public void setActivityTitle(String activityTitle) {
        this.activityTitle = activityTitle;
    }

    public String getVolunteerName() {
        return volunteerName;
    }

    public void setVolunteerName(String volunteerName) {
        this.volunteerName = volunteerName;
    }
}
